#ifndef VHUD_H
#define VHUD_H

#include <QWidget>
#include <QLabel>
#include <QTime>
#include <QTimer>
#include <QProgressBar>

#include "../Controlers/CDesign.h"
#include "../Models/MStaticData.h"

class VHUD : public QWidget
{
    Q_OBJECT

private:    
    int EXP;
    int level;
    QString username;
    QString char_name;
    QString map_name;
    QTime time;
    QTimer *timer;
    QProgressBar *bar_exp;

    QLabel *time_label;
    QLabel *level_label;
    QLabel *username_label;
    QLabel *char_name_label;
    QLabel *map_name_label;
    QLabel *window;

public:
    VHUD(QWidget *parent = 0);
    ~VHUD();

signals:

public slots:
    void set_content(int _EXP = 0, int _level = 0, QString _username = "", QString _char_name = "", QString _map_name = "");
    void update_time();
};

#endif // VHUD_H
